package org.robotlegs.xxl.mvcs 
{
	import flash.display.DisplayObjectContainer;
	import org.robotlegs.core.IMediatorMap;
	import org.robotlegs.xxl.base.MediatorBase;
	import org.robotlegs.xxl.core.ISignalMap;
	
	/**
	 * ...
	 * @author XXL
	 */
	public class Mediator extends MediatorBase 
	{
		[Inject]
		public var contextView:DisplayObjectContainer;
		
		[Inject]
		public var mediatorMap:IMediatorMap;
		
		[Inject]
		public var signalMap:ISignalMap;
		
		public function Mediator() 
		{
			
		}
		
		override public function onRemove():void 
		{
			super.onRemove();
			signalMap.unmapSignals();
		}
	}

}